{"ast":null,"code":"const genSorterStyle = token => {\n  const {\n    componentCls,\n    marginXXS,\n    fontSizeIcon,\n    tableHeaderIconColor,\n    tableHeaderIconColorHover\n  } = token;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-thead th${componentCls}-column-has-sorters`]: {\n        outline: 'none',\n        cursor: 'pointer',\n        transition: `all ${token.motionDurationSlow}`,\n        '&:hover': {\n          background: token.tableHeaderSortHoverBg,\n          '&::before': {\n            backgroundColor: 'transparent !important'\n          }\n        },\n        '&:focus-visible': {\n          color: token.colorPrimary\n        },\n        // https://github.com/ant-design/ant-design/issues/30969\n        [`\n          &${componentCls}-cell-fix-left:hover,\n          &${componentCls}-cell-fix-right:hover\n        `]: {\n          background: token.tableFixedHeaderSortActiveBg\n        }\n      },\n      [`${componentCls}-thead th${componentCls}-column-sort`]: {\n        background: token.tableHeaderSortBg,\n        '&::before': {\n          backgroundColor: 'transparent !important'\n        }\n      },\n      [`td${componentCls}-column-sort`]: {\n        background: token.tableBodySortBg\n      },\n      [`${componentCls}-column-title`]: {\n        position: 'relative',\n        zIndex: 1,\n        flex: 1\n      },\n      [`${componentCls}-column-sorters`]: {\n        display: 'flex',\n        flex: 'auto',\n        alignItems: 'center',\n        justifyContent: 'space-between',\n        '&::after': {\n          position: 'absolute',\n          inset: 0,\n          width: '100%',\n          height: '100%',\n          content: '\"\"'\n        }\n      },\n      [`${componentCls}-column-sorter`]: {\n        marginInlineStart: marginXXS,\n        color: tableHeaderIconColor,\n        fontSize: 0,\n        transition: `color ${token.motionDurationSlow}`,\n        '&-inner': {\n          display: 'inline-flex',\n          flexDirection: 'column',\n          alignItems: 'center'\n        },\n        '&-up, &-down': {\n          fontSize: fontSizeIcon,\n          '&.active': {\n            color: token.colorPrimary\n          }\n        },\n        [`${componentCls}-column-sorter-up + ${componentCls}-column-sorter-down`]: {\n          marginTop: '-0.3em'\n        }\n      },\n      [`${componentCls}-column-sorters:hover ${componentCls}-column-sorter`]: {\n        color: tableHeaderIconColorHover\n      }\n    }\n  };\n};\nexport default genSorterStyle;","map":{"version":3,"names":["genSorterStyle","token","componentCls","marginXXS","fontSizeIcon","tableHeaderIconColor","tableHeaderIconColorHover","outline","cursor","transition","motionDurationSlow","background","tableHeaderSortHoverBg","backgroundColor","color","colorPrimary","tableFixedHeaderSortActiveBg","tableHeaderSortBg","tableBodySortBg","position","zIndex","flex","display","alignItems","justifyContent","inset","width","height","content","marginInlineStart","fontSize","flexDirection","marginTop"],"sources":["/data/messenger.client/node_modules/antd/es/table/style/sorter.js"],"sourcesContent":["const genSorterStyle = token => {\n  const {\n    componentCls,\n    marginXXS,\n    fontSizeIcon,\n    tableHeaderIconColor,\n    tableHeaderIconColorHover\n  } = token;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-thead th${componentCls}-column-has-sorters`]: {\n        outline: 'none',\n        cursor: 'pointer',\n        transition: `all ${token.motionDurationSlow}`,\n        '&:hover': {\n          background: token.tableHeaderSortHoverBg,\n          '&::before': {\n            backgroundColor: 'transparent !important'\n          }\n        },\n        '&:focus-visible': {\n          color: token.colorPrimary\n        },\n        // https://github.com/ant-design/ant-design/issues/30969\n        [`\n          &${componentCls}-cell-fix-left:hover,\n          &${componentCls}-cell-fix-right:hover\n        `]: {\n          background: token.tableFixedHeaderSortActiveBg\n        }\n      },\n      [`${componentCls}-thead th${componentCls}-column-sort`]: {\n        background: token.tableHeaderSortBg,\n        '&::before': {\n          backgroundColor: 'transparent !important'\n        }\n      },\n      [`td${componentCls}-column-sort`]: {\n        background: token.tableBodySortBg\n      },\n      [`${componentCls}-column-title`]: {\n        position: 'relative',\n        zIndex: 1,\n        flex: 1\n      },\n      [`${componentCls}-column-sorters`]: {\n        display: 'flex',\n        flex: 'auto',\n        alignItems: 'center',\n        justifyContent: 'space-between',\n        '&::after': {\n          position: 'absolute',\n          inset: 0,\n          width: '100%',\n          height: '100%',\n          content: '\"\"'\n        }\n      },\n      [`${componentCls}-column-sorter`]: {\n        marginInlineStart: marginXXS,\n        color: tableHeaderIconColor,\n        fontSize: 0,\n        transition: `color ${token.motionDurationSlow}`,\n        '&-inner': {\n          display: 'inline-flex',\n          flexDirection: 'column',\n          alignItems: 'center'\n        },\n        '&-up, &-down': {\n          fontSize: fontSizeIcon,\n          '&.active': {\n            color: token.colorPrimary\n          }\n        },\n        [`${componentCls}-column-sorter-up + ${componentCls}-column-sorter-down`]: {\n          marginTop: '-0.3em'\n        }\n      },\n      [`${componentCls}-column-sorters:hover ${componentCls}-column-sorter`]: {\n        color: tableHeaderIconColorHover\n      }\n    }\n  };\n};\nexport default genSorterStyle;"],"mappings":"AAAA,MAAMA,cAAc,GAAGC,KAAK,IAAI;EAC9B,MAAM;IACJC,YAAY;IACZC,SAAS;IACTC,YAAY;IACZC,oBAAoB;IACpBC;EACF,CAAC,GAAGL,KAAK;EACT,OAAO;IACL,CAAE,GAAEC,YAAa,UAAS,GAAG;MAC3B,CAAE,GAAEA,YAAa,YAAWA,YAAa,qBAAoB,GAAG;QAC9DK,OAAO,EAAE,MAAM;QACfC,MAAM,EAAE,SAAS;QACjBC,UAAU,EAAG,OAAMR,KAAK,CAACS,kBAAmB,EAAC;QAC7C,SAAS,EAAE;UACTC,UAAU,EAAEV,KAAK,CAACW,sBAAsB;UACxC,WAAW,EAAE;YACXC,eAAe,EAAE;UACnB;QACF,CAAC;QACD,iBAAiB,EAAE;UACjBC,KAAK,EAAEb,KAAK,CAACc;QACf,CAAC;QACD;QACA,CAAE;AACV,aAAab,YAAa;AAC1B,aAAaA,YAAa;AAC1B,SAAS,GAAG;UACFS,UAAU,EAAEV,KAAK,CAACe;QACpB;MACF,CAAC;MACD,CAAE,GAAEd,YAAa,YAAWA,YAAa,cAAa,GAAG;QACvDS,UAAU,EAAEV,KAAK,CAACgB,iBAAiB;QACnC,WAAW,EAAE;UACXJ,eAAe,EAAE;QACnB;MACF,CAAC;MACD,CAAE,KAAIX,YAAa,cAAa,GAAG;QACjCS,UAAU,EAAEV,KAAK,CAACi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